package com.consult.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.consult.config.dto.LoginDto;
import com.consult.entity.Consultant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-06-22
 */
public interface ConsultantMapper extends BaseMapper<Consultant> {

    Page<Consultant> getConsultantPage(Page<Consultant> page);

    LoginDto getByUserName(String name);
}
